// 2. 路由中间件
const express = require('express')
const router = express.Router()

const { find, add, patch, put } = require('../controllers/movies')

// const { save, patch, remove } = require('../controllers/position')

router.get('/movies/list', find)
// router.post('/movies/add', add)
// router.patch('/movies/patch', patch)
// router.put('/movies/put', put)

// router.post('/position/save', save)
// router.patch('/position/patch', patch)
// router.delete('/position/remove', remove)

module.exports = router